﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">内容管理</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">{$lang.cagrylist}</a></span>
            <div class="z-f-r"><span class="user-t">当前语言为：</span><span class="user-info"><?php echo $GLOBALS['langdata'][$GLOBALS['langtype']] ;?></span><!-- <a href="#">退出</a> --></div>
        </div>
        <div class="top-menu">
        	<ul>			
                                                 <li><a href="index.php?app={$category_value}&act=index"  target="mainframe">{$lang.contentlist}</a></li>
                                                 <li><a href="index.php?app={$category_value}&act=add"  target="mainframe">{$lang.contentadd}</a></li>
                                                 <li class="current"><a href="#" >{$lang.cagrylist}</a></li>
                                                 <li><a href="index.php?app={$category_value}&act=cagryadd" target="mainframe">{$lang.cagryadd}</a></li>

				
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">


    <table  class="data" >
        <thead>

	<th >ID</th>
	<th>分类名称</th>
	<th>排序</th>    
	<th>操作</th>										   
										   
			
        </thead>
	    <tbody>
		

<!--{foreach($catgydata as $_key => $_value )}-->

<tr >
	<td  align="center">
	{$_value.cat_id}

	</td>
  
       
	<td <!--{if ($_value.parent_id=='0')}-->style="font-weight:bold;"<!--{/if}--> > <a href="{SITE_URL}/?app={$category_value}&cat={$_value.cat_id}" target="_blank">&nbsp;{$_value.str_pad}{$_value.cat_name}</a></td>

        
 	<td><input type="text" maxlength="3" style="width: 40px; text-align: center;" value="{$_value.sort_order}" name="sort"  onchange="ato_url('index.php?app={$category_value}&act=lcsort&id={$_value.cat_id}',this);">
</td>
   
	<td>
    
	                                            <a href="?app={$category_value}&act=editcatgy&id={$_value.cat_id}" target="mainframe">修改</a>/
	                                            <a href="?app={$category_value}&act=delcatgy&id={$_value.cat_id}" onClick="return confirm('确认删除此项？此操作无法恢复！');">删除</a>
	                                     
                                              
	                                       
	</td>
</tr>

 <!--{/foreach}--> 		
			
			
	    </tbody>
    </table>
	

	
        
        <div class="notic"></div>
    </div>
</div>
<!--{inc(footer.view.html)}-->